import { NTag } from 'naive-ui'
import { h } from "vue";

export const basicColumns = [
    {
        key: 'id',
        title: '编号'
    },
    {
        key: 'name',
        title: '名称'
    },
    {
        key: 'phone',
        title: '电话'
    },
    {
        key: 'email',
        title: '邮箱'
    },
    {
        key: 'status',
        title: '状态',
        render(row: Demo){
            return h(
                NTag,
                {
                    type: "info"
                },
                { default: () => row.status }
            )
        }
    }
]
